<html>
<body>

</body>

<?php /*require $_SERVER['DOCUMENT_ROOT'].'/good-mojo-donation/trunk/src/header.php'?>
<?php require $_SERVER['DOCUMENT_ROOT'].'/good-mojo-donation/trunk/src/top_menu.php'?>
<?php require $_SERVER['DOCUMENT_ROOT'].'/good-mojo-donation/trunk/src/footer.php'?>*/

/*
 * File Name : index.php
 * Description : Application start page
 */
include_once "basePage.php";

session_start();


if ($_SESSION['accessType'] == NULL)
	header("Location: http://localhost/good-mojo-donation/trunk/src/signin.php");

$access_type = $_SESSION['accessType'];

$page = new basePage();
$page->header();
$page->include_transalte();
if($access_type == '1')
	$page->top_menu_donor();
else if($access_type == '2')
	$page->top_menu_agency();
else if ($access_type == '3')
	$page->top_menu_company();
//$page->top_menu();
//$page->dbconnect('pa_user','secret_password');
$page->footer();

?>
